package com.pactera.asmp.server.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.util.ArrayList;
import java.util.List;

/**
 * @Title :
 * @Description:
 * @auther wanghao
 * @Date : -
 */
@Getter
@Setter
public class TerminalPerformanceInfo {
    private Long taskId;
    private String duid;
    private List<TopInfo> topList = new ArrayList<>();
    private List<memoryInfo> memoryList = new ArrayList<>();

    @Data
    public static class TopInfo{
        private String name;

        private String pid;

        private String user;

        private String pr;

        private String ni;

        private String virt;

        private String res;

        private String s;

        private String shr;

        private String cpu;

        private String mem;

        private String timePlus;

        private String timestamp;
    }

    @Data
    public static class memoryInfo{
        private String name;

        private String pid;

        private Integer vss;

        private Integer rss;

        private Integer pss;

        private Integer uss;

        private String timestamp;
    }
}
